# Research Paper Replication README

## Introduction
This replication folder contains the necessary files and instructions to reproduce the findings of the research paper titled "What replication studies
by students are good for? New results by fresh eyes", which reproduces the article "What is rebel governance? Introducing a new dataset on rebel 
institutions, 1945–2012" by Karen Albert. The purpose of this README is to guide you through the replication process.

## Folder Structure
The replication folder is organized as follows:

/data/Study_1: Contains the datasets used in the research.
/figures/Study_1: Stores the figures obtained from the research.
/tables/Study_1: Stores the tables obtained from the research.

## Dependencies
The following software dependencies are required to replicate the research:

- R version 4.2.0
- Packages: broom, tidyverse, modelsummary, lfe, fixest, patchwork

## Installation
To set up the replication environment, follow these steps:

1. Install R version 4.2.0 from the official R website (https://www.r-project.org/).
2. Install the required packages by executing the following commands in R:

   install.packages("broom")
   install.packages("tidyverse")
   install.packages("modelsummary")
   install.packages("lfe")
   install.packages("fixest")
   install.packages("patchwork")

Set the working directory in your R environment to the location where the replication folder is saved. 
You can use the setwd() function and specify the appropriate path.

## Data
The datasets used in this research can be found in the /data folder. The following files are required:

RQSI_Replication_data_2021.csv: Contains the original replication data.
V-Dem-CY-Full+Others-v12.rds: Contains the V-Dem data.

## Code
The replication code can be found in the R script file, named "Replication_Study_1.R".

## Results
The outputs and results of the research will be generated and stored in the /figures/Study_1 and /tables/Stuy_1/ folder upon running the 
replication script. The specific outputs and their interpretation can be found in the research paper and the supplementary appendix.

## Contact Information
For any questions, feedback, or assistance, please contact:

Daniel Korell
danielkrll818@gmail.com
